﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace comm.objst
{
    public abstract class TableRow
    {
        public RowStateType RowStateType { get; set; }

        private DateTime _rowCreateTime = DateTime.Now;
        public DateTime RowCreateTime
        {
            get { return _rowCreateTime; }
            set { _rowCreateTime = value; }
        }

        private DateTime _rowDeleteTime = DateTime.Now;
        public DateTime RowDeleteTime
        {
            get { return _rowDeleteTime; }
            set { _rowDeleteTime = value; }
        }

        private string _rowLog = null;
        [OrmAttr(false, true)]
        public string RowLog
        {
            get
            {
                if (_rowLog == null)
                {
                    _rowLog = "";
                }
                return _rowLog;
            }
            set { _rowLog = value; }
        }
    }
}
